<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>首页</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link href="../css/bootstrap-grid.css" rel="stylesheet">
		<link type="text/css" rel="stylesheet" href="../css/bootstrap4.1.0.css">
		<link type="text/css" rel="stylesheet" href="../css/index.css">
		<script type="text/javascript" src="../js/jquery-3.3.1.min.js"></script>
		<script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
		<script src="../js/bootstrap.min.js"></script>

	</head>
<body>
	
<div class="big">
	<div id="top_div">
		<div class="nav">
			<img src="../img/汉服-150x150.png">
			<span>国风汉服网</span>
		</div>
		<!-- 导航栏 -->
		<div class="nav">
		<div id="nav_div">
			<ul class="nav nav-tabs nav-justified">
		    <li class="nav-item">
		      <a class="nav-link active" href="#"><p style="font-size: 20px;">首页</p></a>
		    </li>
		    <li class="nav-item">
		      <a class="nav-link" href="han_shopmall.html"><p style="font-size: 20px;">商城</p></a>
		    </li>
		    <li class="nav-item">
		      <a class="nav-link" href="#"><p style="font-size: 20px;">文化</p></a>
		    </li>
		    <li class="nav-item">
		      <a class="nav-link disabled" href="#"><p style="font-size: 20px;">资讯</p></a>
		    </li>
		  </ul>
		</div>
		</div>
		<!-- 搜索 -->
		<div class="nav" id="dlu">

			<button type="button" class="btn btn-dark" id="dl" onclick="window.location.href='login.html'">登录</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<button type="button" class="btn btn-dark" id="zc" onclick="window.location.href='reg.html'">注册</button>
		</div>
	</div>

	

		
		
<div id="b_right">

</div>

	<div id="fix">
		<a href="http://www.baidu.com" target="_blank"><img src="../img/小博.png" /></a>
		<a href="http://www.youku.com" target="_blank"><img src="../img/小车.png" /></a>
		<a href="#top_div"><img src="../img/回顶.png" /></a>
	</div>

</div>	
	<!--------------------导航栏以下------------------------->





	<!-------底部------->
<footer>
	<p>
        <a href="#" target="_blank">关于我们</a><i>|</i><a href="#" target="_blank">商家入驻</a><i>|</i><a href="#" target="_blank">入驻协议</a><i>|</i><a href="#" target="_blank">新手指南</a><i>|</i><a href="/copyright/?action=cooperation"
        	 target="_blank">商务合作</a><i>|</i><a href="han_shopmall.html" target="_blank">汉服荟商城</a>
    </p>
    <p class="copyright">
        <a href="#" class="ebs" target="_blank"></a>CopyRight ©2018 珠海市达内汉服网络科技有限公司 版权所有 <a href="#" target="_blank">粤ICP备14084884号-1</a> 电话：0888-8888888
    </p>
</footer>
<!-------------------------js代码json----------------------------->
<script type="text/javascript">
    $(document).ready(function () {
        //
        var url = "../user/info.do";
        //发出ajax请求并处理结果。
        $.ajax({
            "url": url,
            "type": "POST",
            "dataType": "json",
            "success": function (json) {
                var user = json.data;
                var reLogin="  <a href=\"login.html\">&nbsp;注销</a>";
                $("#dlu").html("欢迎,"+user.username+reLogin);
            }
        });
    });
</script>
</body>
</html>
